package br.com.mstecsystems.mavenpoc.persistence;

import java.util.List;

import br.com.mstecsystems.mavenpoc.model.User;

public interface UserDAO {
	/**
     * Add User
     *
     * @param  User user
     */
    public void addUser(User user);
 
    /**
     * Update User
     *
     * @param  User user
     */
    public void updateUser(User user);
 
    /**
     * Delete User
     *
     * @param  User user
     */
    public void deleteUser(User user);
 
    /**
     * Get User
     *
     * @param  int User Id
     */
    public User getUserById(int id) throws PersistenceException ;
 
    /**
     * Get User List
     *
     */
    public List<User> getUsers();
}
